<div class="blog_friend">
	<div class="blog_friend_bar">&nbsp;<?=t(227)?></div>
	<div class=""></div>	
	<div class="blog_friend_content">
	    <?$i = 0;?>
		<?foreach($this->viewParams['events'] as $val) :?>
		<div class="blog_event_new"><a href="<?=$this->hvnUrl(array('module' => 'event', 'action' => 'view'), 'nocontroller')?>?id=<?=$val['id']?>">
			<? if ($val['thumb'])
                		$imageUrl = str_replace("/original/", "/medium/", $val['thumb']);
                	else
                		$imageUrl = "/public/themes/hard/images/chitiet-img.jpg";
                ?>
                <img src=<?=$imageUrl?> />
			</a>
		</div>
		<div class="blog_friend_title"><a href="<?=$this->hvnUrl(array('module' => 'event', 'action' => 'view'), 'nocontroller')?>?id=<?=$val['id']?>"><?=$val['title']?></a></div>
		<!--<div class="blog_friend_title">Thời gian : <span><?=date_to_string($val['start_date'])?> - <?=date_to_string($val['finish_date'])?></span></div>-->
		<?$i++?><?if($i == 3):?><?break?><?endif?>
		<?endforeach?>
	</div>	
</div>
